<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div style="display: none"><script id="myEditorImage" type="text/plain"></script></div> 
<div class="pageContent">
	<form method="post" action="${rootUrl}/goods/goods-class?id=${goodsClass.id}" class="pageForm required-validate" onsubmit="return validateCallback(this, editDialogTree);">
		<div class="pageFormContent" layoutH="56">
		<%-- <input type="hidden" name="goodsClassParentId" value="${goodsClassParentId }"> --%>
			<p>
				<label>商品类别名称：</label>
				<input name="goodsClass.name" class="required" type="text" size="30" value=""/><br>
			</p>
            <p>
				<label>商品类别排序：</label>
				<input name="goodsClass.sort" class="required" type="text" size="30" value=""/>
			</p> 
	        <dl class="nowrap">
				<dt>商品类别图片：</dt>
				<dd style="width: 300px;">
				<input name="goodsClass.image" id="abccc" type="hidden" size="30" value=""/>
				<div class="imgContainer" >
				<a href="#" onclick="iFileUploader.upImg();">
				<img id="myEditorImageabcd" src="" /></a></div>
				</dd>
			</dl>
			
			 <p>
				<label>是否展示：</label>
				<select name="goodsClass.isShow" class="required combox">
					<option value="1">是</option>
					<option value="0">否</option>
				</select>
			</p>
		</div>	
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>

<script>
var imageFolder = 0;
iFileUploader.initImg("myEditorImage","abccc","myEditorImageabcd",{imageFolder:imageFolder});
</script>